package com.cecsmsserve.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName("news_category_rel")
public class NewsCategoryRel {
    
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    
    @TableField("news_id")
    private Integer newsId;
    
    @TableField("category_id")
    private Integer categoryId;
} 